package com.xinruke.hostels.reservation.user.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author GuoZheng
 * @ClassName UserDetailQueryDto
 * @date：2019/7/1
 * @version: V1.0.0
 * @description：
 */
@ApiModel("用户详情查询DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserDetailQueryDto {
    @ApiModelProperty(value = "id",required = true)
    @NotNull(message = "id不能为空")
    private Integer id;

}
